<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:include href='../xsl.include.main.xsl'/>

<xsl:template match="toApprove">

<xsl:comment>
0 - have just been created
1 - is public
2 - have been denyed authorization
3 - is waiting for authorization
</xsl:comment>
  <div class="round_me" style="background:#EEEEEE; padding:5px;">
<table bgcolor="#EEEEEE" class="body_10px" border="0" cellspacing="0" cellpadding="3" width="100%">
<tr height="25px">
<td class="dotlin" colspan="10"><b>Utenti segnalati ad abuse</b></td></tr>
<tr class="body">
<td align="center" class="body_10px">Riabilita</td>
<td><b>Nickname</b></td>
<td><b>Pvt's</b></td>
<td><b>Iscritto da</b></td>
<td><b>Citta'</b></td>
<td><b>Ultimo login</b></td>
<td style="color:blue;"><b>Hits</b></td>
<td align="center"><b>Ghostizza</b></td>
<td align="center"><b>Sospetta IP</b></td>
<td align="center"><b>Richiedi<br/>cancellazione</b></td>
</tr>
<xsl:for-each select="row">
<tr>
<td align="center">
<xsl:choose>
<xsl:when test="floor( @status div 64 ) mod 2 or floor( @status div 8 ) mod 2">
</xsl:when>
<xsl:otherwise>
<a href="?userid={@GUID}&amp;clean=1"><img border="0" src="/imgs/markedyes.gif"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td><nobr>


<xsl:call-template name="user">
	<xsl:with-param name="status" select="@status"/>
	<xsl:with-param name="sexid" select="@sexid"/>
	<xsl:with-param name="certified" select="@certified"/>
	<xsl:with-param name="userid" select="@GUID"/>
	<xsl:with-param name="nick" select="@nick"/>
	<xsl:with-param name="bold" select="0"/>
</xsl:call-template>
</nobr></td>
<td>
<xsl:choose><xsl:when test='@pvts &gt;0 '><a style="color:#006699;" href="/admin/abusers.aspx?userid={@GUID}"><xsl:value-of select="@pvts"/></a></xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
</td>
<td>
	<xsl:value-of select="substring(@datetime,9,2)"/>-<xsl:value-of select="substring(@datetime,6,2)"/>-<xsl:value-of select="substring(@datetime,3,2)"/>&#160;						<xsl:value-of select="substring(@datetime,12,5)"/>
</td>
<td><xsl:value-of select="@city"/></td>

<td>
	<xsl:value-of select="substring(@lastlogin,9,2)"/>-<xsl:value-of select="substring(@lastlogin,6,2)"/>-<xsl:value-of select="substring(@lastlogin,3,2)"/>&#160;						<xsl:value-of select="substring(@lastlogin,12,8)"/>
</td>

<td><xsl:value-of select="@hits"/></td>
<td align="center">
<xsl:choose>
<xsl:when test="floor( @status div 64 ) mod 2">
	<a href="?userid={@GUID}&amp;ghost=1"><img border="0" src="/imgs/unghost.gif"/></a>
</xsl:when>
<xsl:otherwise>
	<a href="?userid={@GUID}&amp;ghost=1"><img border="0" src="/imgs/ghost.gif"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:choose>
<xsl:when test="(@furbhits1 &gt; 0 or @furbhits2 &gt; 0)">
	<a href="?userid={@GUID}&amp;showip=1"><img border="0" src="/imgs/unsuspect.gif"/></a>
</xsl:when>
<xsl:otherwise>
	<img border="0" src="/imgs/suspect.gif"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:choose>
<xsl:when test="floor( @status div 8 ) mod 2">
Waiting
</xsl:when>
<xsl:otherwise>
	<a href="?userid={@GUID}&amp;nuke=1"><img border="0" src="/imgs/delete.gif"/></a>
</xsl:otherwise>
</xsl:choose>


</td>
</tr>
</xsl:for-each>
</table>
  </div>
</xsl:template>

</xsl:stylesheet>